﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<List<Brjostagjof_H4.Models.Entry>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Brjóstagjöf.is | Greinar
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h3><%: ViewData["CurrCat"] %></h3>
    <table id="main-table">
        <tr>

            <td id="main-table-left">
                <div id="cat-list" class="list-div-style">
                <% foreach (var item in Model)
                    { %>
                    <div>
                        <%= Html.ActionLink(item.title, "ViewArticle", new { id = item.ID })%>
                    </div>
                <% } %>
                </div>
            </td>

            <td id="main-table-right">
                <% Html.RenderPartial("~/Views/Home/Sidebar.ascx"); %>
            </td>

        </tr>
    </table>

</asp:Content>
